﻿using System.Collections.Generic;
using System.Data.Objects.DataClasses;

namespace WmsApp.Service
{
    public interface IEntityService<T, TK> where T : EntityObject
      where TK : IEntityService<T,TK>
    {
        List<T> GetEntityList();
        List<T> GetEntityList(string condition);
        void SaveEntityList(List<T> list);
        T GetEntity(string key);
    }
}
